﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EmbedNews.ascx.cs" Inherits="GUI.Controls.News.EmbedNews" %>
<div class="daily clearfix">
    <div class="daily-top">
        <div class="daily-header">
            Điểm tin trong ngày
        </div>
        <i class="daily-arrow-down"></i>
        <div class="daily-nav">
            <a href="javascript:void(0);" class="nav sprite pre"></a><a href="javascript:void(0);" class="nav sprite next"></a>
        </div>
    </div>
    <i class="daily-line"></i>
    <div class="daily-content mgt15">
        <ul>
            <asp:Literal ID="ltrData" runat="server" />
        </ul>
    </div>
    <script type="text/javascript">
        $(".daily-nav .nav").hover(
        function () {
            $(this).mousedown(function () { $(this).addClass("disable"); }).mouseup(function () { $(this).removeClass("disable"); });
        },
        function () {
            $(this).removeClass("disable");
        });
        $(".daily-content").each(function () {
            $(this).mcgSlider({
                slideItemElement: ".daily-item",
                preButton: $(".daily-top .nav.pre"),
                nextButton: $(".daily-top .nav.next"),
                numberOfVisibleSlides: 3,
                duration:7000
            });
        });
    </script>
</div>
